* {
  padding: 0px;
  margin: 0px;
  color: #555;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border;
  list-style: none;
  font-family: -apple-system, BlinkMacSystemFont, 
  "PingFang SC", Helvetica, Tahoma, Arial, 
  "Hiragino Sans GB", "Microsoft YaHei", 
  微软雅黑, SimSun, 宋体, Heiti, 黑体, sans-serif;
  text-decoration: none;
}

html,body {
  width: 100%;
  min-height: 100%;
  height: 100%;
}

.left {
  float: left!important;
}
.right {
  float: right!important;
}

.red {
  color: #ff1244!important;
}

.blue {
  color: #019fde!important;
}


.orange {
  color: #ff8345!important;
}

.green {
  color: #009f5d!important;
}

.black {
  color: #010101!important;
}

button:focus,
input:focus {
  outline: none!important;
}

.cm-content {
  margin: 0 auto;
  width: 100%;
  max-width: 1024px;
  min-height: 100%;
}


#container {
  border-left: 1px solid #d1d2d4;
  border-right: 1px solid #d1d2d4;
  position: relative;
  overflow: hidden;
  padding-bottom: 4.5rem;
  background: #f6f6f6;
}


/** #user */

#user {
  width: 100%;
}

/** user-head */
.user-head {
  height: 15vh;
  background: #019fde;
  padding-left: 15vh;
  padding-right: 2.5vh;
  position: relative;
  display: flex;
}

.user-head .img {
  position: absolute;
  top: 2.5vh;
  left: 2.5vh;
  width: 10vh;
  height: 10vh;
  border-radius: 100%;
  overflow: hidden;
}

.user-head .img img {
  width: 100%;
  display: block;
}

.user-head .btn {
  font-size: 0;
  margin: auto 0;
}

.user-head .btn a {
  font-size: 2.5vh;
  color: #fff;
  cursor: pointer;
}

.user-head .btn span {
  font-size: 2.5vh;
  padding: 0 1vh;
  color: #fff;
}

.user-head .info {
  font-size: 0;
  margin: auto 0;
}

.user-head .info span {
  display: block;
  line-height: 3.5vh;
  color: #fef;
}

.user-head .info span.name {
  font-size: 2.5vh;
}

.user-head .info span.nick {
  font-size: 2vh;
}

/**  */

/** #user user-order */
.user-order {
  overflow: hidden;
}

.user-order-item {
  margin-bottom: 2vh;
  background: #fff;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.user-order-item-title {
  height: 6vh;
  line-height: 6vh;
  font-size: 0;
  padding: 0 2.5vh;
  border-bottom: 1px solid #e0e0e0;
  background: #fff;
}

.user-order-item-title span {
  font-size: 2vh;
}

.user-order-item-title span.left {
  color: #000;
}

.user-order-item-title span.right {
  color: #808080;
  font-size: 1.8vh;
}

.user-order-item-title span.right i {
  color: #808080;
  padding-left: 1vh;
}

.user-order-item ul {
  width: 100%;
  overflow: hidden;
  padding: 0 2.5vh 2vh 2.5vh;
}

.user-order-item li {
  width: 25%;
  padding-left: 1.25vh;
  padding-right: 1.25vh;
}

.user-order-item li:nth-child(4n+1) {
  padding-left: 0;
} 

.user-order-item li:nth-child(4n+4) {
  padding-right: 0;
} 

.user-order-item li a {
  display: block;
  width: 100%;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
}

.user-order-item li a .img {
  width: 50%;
  max-width: 5rem;
  min-width: 2.5rem;
  margin: 2vh auto 1vh auto;
}

.user-order-item li a .img img {
  width: 100%;
  display: block;
}

.user-order-item li a span {
  font-size: 2vh;
  color: #303030;
  letter-spacing: 1px;
}

/**  */

/**  */


/** #user-set */
#user-set {
  position: fixed;
  top: 0;
  bottom: 4rem;
  left: 0;
  width: 100%;
}

#user-set .cm-content {
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0,.25);
  display: flex;
}

#user-set .cm-content > div {
  width: 75%;
  max-width: 320px;
  margin: auto;
  text-align: center;
  background: #fff;
}

#user-set .cm-content .header {
  height: 5vh;
  min-height: 2rem;
  line-height: 200%;
  background: #019fde;
}

#user-set .cm-content .header span {
  color: #fff;
  font-size: 2vh;
}

#user-set .cm-content .content {
  overflow: hidden;
  padding: 0 10% 2vh 10%;
}

#user-set .cm-content .input {
  width: 100%;
  height: 4vh;
  min-height: 1.5rem;
  padding-left: 5vh;
  padding-right: 1vh;
  margin: 2vh 0;
  border: 1px solid #d1d2d4;
  position: relative;
}

#user-set .cm-content .input i {
  position: absolute;
  left: 1vh;
  top: calc(50% - 1.25vh);
  top: -webkit-calc(50% - 1.25vh);
  top: -moz-calc(50% - 1.25vh);
  font-size: 2.5vh;
  color: #808080;
}

#user-set .cm-content .input input {
  width: 100%;
  height: 100%;
  border: 0;
  vertical-align: top;
}

#user-set .cm-content .submit {
  height: 4vh;
  min-height: 1.5rem;
}

#user-set .cm-content .submit a {
  line-height: 200%;
  display: block;
  background: #019fde;
  color: #fff;
  height: 100%;
  width: 100%;
  cursor: pointer;
  font-size: 2vh;
}

#user-set .cm-content .content .img {
  margin-top: 2vh; 
  width: 100%;
  position: relative;
  cursor: pointer;
}

#user-set .cm-content .content .img:hover::before {
  opacity: 1.0;
}

#user-set .cm-content .content .img:hover::after {
  opacity: 1.0;
}

#user-set .cm-content .content .img:before {
  display: block;
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.5);
  border-radius: 100%;
  opacity: 0;
  transition: opacity .3s ease;
  -webkit-transition: opacity .3s ease;
  -moz-transition: opacity .3s ease;
  -o-transition: opacity .3s ease;
  -ms-transition: opacity .3s ease;
}

#user-set .cm-content .content .img:after {
  content: '选择头像';
  position: absolute;
  top: calc(50% - 1.25vh);
  top: -webkit-calc(50% - 1.25vh);
  top: -moz-calc(50% - 1.25vh);
  left: calc(50% - 5vh);
  left: -webkit-calc(50% - 5vh);
  left: -moz-calc(50% - 5vh);
  color: #fefefe;
  font-size: 2.5vh;
  opacity: 0;
  transition: opacity .3s ease;
  -webkit-transition: opacity .3s ease;
  -moz-transition: opacity .3s ease;
  -o-transition: opacity .3s ease;
  -ms-transition: opacity .3s ease;
}

#user-set .cm-content  .img img {
  display: block;
  width: 100%;
}

/**  */


/** #footer */
#footer {
  position: fixed;
  left: 0px;
  right: 0px;
  bottom: 0px;
  height: 4rem;
  width: 100%;
  background: #fff;
}

#footer ul.list {
  height: 4rem;
  border-top: 1px solid #d1d2d4;
  border-left: 1px solid #d1d2d4;
  border-right: 1px solid #d1d2d4;
  box-shadow: -1px 0px 15px #d1d2d4; 
  -webkit-box-shadow: -1px 0px 15px #d1d2d4; 
  -moz-box-shadow: -1px 0px 15px #d1d2d4; 
  overflow: hidden;
}

#footer ul.list li {
  float: left;
  height: 100%;
  width: 25%;
  text-align: center;
  display:flex;
}

#footer ul.list li a {
  display: inline-block;
  cursor: pointer;
  margin: auto;
  position: relative;
}

#footer ul.list li a span.count {
  position: absolute;
  top: -0.2rem;
  right: .4rem;
  width: 1.2rem;
  background: #ff8345;
  color: white;
  font-size: 0.8vh;
  line-height: 1.2rem;
  text-align: center;
  border-radius: 100%;
}


#footer ul.list li a i,
#footer ul.list li a span {
  display: inline-block;
  color: #303030;
  transition: color .3s ease-in;
  width: 100%;
}

#footer ul.list li a span {
  font-size: 1.2vh;
}

#footer ul.list li a.active i,
#footer ul.list li a.active span,
#footer ul.list li a:hover i,
#footer ul.list li a:hover span {
  color: #019fde;
}

#footer ul.list li a.active span.count,
#footer ul.list li a:hover span.count  {
  color: #fff;
}

/**  */